package com.cakemallproject.service;

import com.cakemallproject.pojo.mapperObj.Orders;

import java.time.LocalDateTime;
import java.util.List;

public interface OrdersService {
    static final Integer Order_isDelete = 0;
    List<Orders> list();

    void insert(Orders orders);

    void delete(List<Integer> ids);

    Orders getByCreateTimeAndUid(LocalDateTime createTime, Integer uid);

    void complete(List<Integer> ids);

    void deliver(List<Integer> ids);

    List<Integer> getOidByStatus(Integer status);

    List<Orders> getByUid(Integer uid);
}
